package com.dlwx.firefighting.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/9/6.
 */

public class ProvinceBean  implements Serializable {

    /**
     * id : 2
     * name : 北京
     * cityArray : {"id":"52","name":"北京","areaArray":[{"region_id":"500","region_name":"东城区"},{"region_id":"501","region_name":"西城区"},{"region_id":"502","region_name":"海淀区"},{"region_id":"503","region_name":"朝阳区"},{"region_id":"504","region_name":"崇文区"},{"region_id":"505","region_name":"宣武区"},{"region_id":"506","region_name":"丰台区"},{"region_id":"507","region_name":"石景山区"},{"region_id":"508","region_name":"房山区"},{"region_id":"509","region_name":"门头沟区"},{"region_id":"510","region_name":"通州区"},{"region_id":"511","region_name":"顺义区"},{"region_id":"512","region_name":"昌平区"},{"region_id":"513","region_name":"怀柔区"},{"region_id":"514","region_name":"平谷区"},{"region_id":"515","region_name":"大兴区"},{"region_id":"516","region_name":"密云县"},{"region_id":"517","region_name":"延庆县"}]}
     */

    private String id;
    private String name;
    private List<CityArrayBean> cityArray;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<CityArrayBean> getCityArray() {
        return cityArray;
    }

    public void setCityArray(List<CityArrayBean> cityArray) {
        this.cityArray = cityArray;
    }

    public static class CityArrayBean  implements Serializable{
        /**
         * id : 52
         * name : 北京
         * areaArray : [{"region_id":"500","region_name":"东城区"},{"region_id":"501","region_name":"西城区"},{"region_id":"502","region_name":"海淀区"},{"region_id":"503","region_name":"朝阳区"},{"region_id":"504","region_name":"崇文区"},{"region_id":"505","region_name":"宣武区"},{"region_id":"506","region_name":"丰台区"},{"region_id":"507","region_name":"石景山区"},{"region_id":"508","region_name":"房山区"},{"region_id":"509","region_name":"门头沟区"},{"region_id":"510","region_name":"通州区"},{"region_id":"511","region_name":"顺义区"},{"region_id":"512","region_name":"昌平区"},{"region_id":"513","region_name":"怀柔区"},{"region_id":"514","region_name":"平谷区"},{"region_id":"515","region_name":"大兴区"},{"region_id":"516","region_name":"密云县"},{"region_id":"517","region_name":"延庆县"}]
         */

        private String id;
        private String name;
        private List<AreaArrayBean> areaArray;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<AreaArrayBean> getAreaArray() {
            return areaArray;
        }

        public void setAreaArray(List<AreaArrayBean> areaArray) {
            this.areaArray = areaArray;
        }

        public static class AreaArrayBean  implements Serializable {
            /**
             * region_id : 500
             * region_name : 东城区
             */

            private String region_id;
            private String region_name;

            public String getRegion_id() {
                return region_id;
            }

            public void setRegion_id(String region_id) {
                this.region_id = region_id;
            }

            public String getRegion_name() {
                return region_name;
            }

            public void setRegion_name(String region_name) {
                this.region_name = region_name;
            }
        }
    }
}
